package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 就诊信息对象 sys_visitRecord
 * 
 * @author ruoyi
 * @date 2024-06-29
 */
public class SysVisitrecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long visitId;

    /** 患者身份证 */
    @Excel(name = "患者身份证")
    private String patientId;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String patientName;

    /** 主治医生 */
    @Excel(name = "主治医生")
    private String doctorId;

    /** 就诊科室 */
    @Excel(name = "就诊科室")
    private String departmentId;

    /** 症状描述 */
    @Excel(name = "症状描述")
    private String symptoms;

    /** 诊断结果 */
    @Excel(name = "诊断结果")
    private String diagnosis;

    /** 其他备注 */
    @Excel(name = "其他备注")
    private String visitNotes;

    /** 就诊日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "就诊日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date visitDate;

    /** 复诊日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "复诊日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date followUpDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setVisitId(Long visitId) 
    {
        this.visitId = visitId;
    }

    public Long getVisitId() 
    {
        return visitId;
    }
    public void setPatientId(String patientId) 
    {
        this.patientId = patientId;
    }

    public String getPatientId() 
    {
        return patientId;
    }
    public void setPatientName(String patientName) 
    {
        this.patientName = patientName;
    }

    public String getPatientName() 
    {
        return patientName;
    }
    public void setDoctorId(String doctorId) 
    {
        this.doctorId = doctorId;
    }

    public String getDoctorId() 
    {
        return doctorId;
    }
    public void setDepartmentId(String departmentId) 
    {
        this.departmentId = departmentId;
    }

    public String getDepartmentId() 
    {
        return departmentId;
    }
    public void setSymptoms(String symptoms) 
    {
        this.symptoms = symptoms;
    }

    public String getSymptoms() 
    {
        return symptoms;
    }
    public void setDiagnosis(String diagnosis) 
    {
        this.diagnosis = diagnosis;
    }

    public String getDiagnosis() 
    {
        return diagnosis;
    }
    public void setVisitNotes(String visitNotes) 
    {
        this.visitNotes = visitNotes;
    }

    public String getVisitNotes() 
    {
        return visitNotes;
    }
    public void setVisitDate(Date visitDate) 
    {
        this.visitDate = visitDate;
    }

    public Date getVisitDate() 
    {
        return visitDate;
    }
    public void setFollowUpDate(Date followUpDate) 
    {
        this.followUpDate = followUpDate;
    }

    public Date getFollowUpDate() 
    {
        return followUpDate;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("visitId", getVisitId())
            .append("patientId", getPatientId())
            .append("patientName", getPatientName())
            .append("doctorId", getDoctorId())
            .append("departmentId", getDepartmentId())
            .append("symptoms", getSymptoms())
            .append("diagnosis", getDiagnosis())
            .append("visitNotes", getVisitNotes())
            .append("visitDate", getVisitDate())
            .append("followUpDate", getFollowUpDate())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
